/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.arthurh.android.BdeInfo;
import android.view.View;
import android.view.Display;
import android.widget.TextView;
import android.widget.LinearLayout;
import android.app.Activity;
import android.content.res.Resources;
import android.os.Bundle;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.Toast;
import android.widget.ScrollView;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.widget.TabHost;
import com.arthurh.android.BdeInfo.commande.Commande;
/**
 *
 * @author arthur
 */
public class CommandeActivity extends Activity
{
    private ScrollView scrollLayout;
    private LinearLayout layout ;
    private TextView textView;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        
        super.onCreate(savedInstanceState);
        this.setTitle("BdeInfo - Commander");
        
        scrollLayout = new ScrollView(this);
        layout = new LinearLayout(this);
        scrollLayout.addView(layout);
        layout.setOrientation(LinearLayout.VERTICAL);
        textView = new TextView(this);
        layout.addView(textView);
        Commande commande = new Commande(this);
        commande.insertButton(layout, false, false);
        setContentView(scrollLayout);
        
    }
}
